package com.fz.us.admin.company.service;



import com.fz.us.admin.base.service.BaseService;
import com.fz.us.admin.company.entity.TaskRecord;
import com.fz.us.admin.company.entity.User;

import java.util.List;

/**
 * Service接口 - 组织
 * ============================================================================
 * 版权所有 2013
 * ----------------------------------------------------------------------------
 * 
 * @author 
 * 
 * @version 0.1 2013-05-09
 */

public interface TaskRecordService extends BaseService<TaskRecord, String> {

    public List<TaskRecord> getDataByUserKeyId(String keyId, String userId);

    public List<TaskRecord> getDataByKeyId(String keyId);

    /**
     * 首页的查找流转信息（查找前10条）
     */
    public List<TaskRecord> getDataListLimit10(User user, int type);
}